/**
 * Created by minigci.he on 16/10/31.
 */

function Point(x=0, y=0){
    this.x = x;
    this.y = y;
}
var p = new Point()
console.log(p);     // {x: 0, y: 0}